package com.zhuiyi.springbootmybatis.mapper;

import com.zhuiyi.springbootmybatis.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserMapper {
    List<User> getUsers();

    void addUser(User user);

    void delereUserById(int id);

    void updateUser(User user);

    User getUserById(int id);

    User login(String username,String password);
}
